fixing some issues with qsub