Fix for bash compatibility