fixed stuff in bash