fixed mistake permission