fixing chmod command