Fix bug with sh