fixed permission of running getMemberData and cleanup