changed permissions
fixing template