removing 777 work around