fixed permissions for applications which aren't listed first