cancels bail granted