Fixes permited actions