fixes bash error