removing some settings
improving L compatibility
fixed resource location