remove unnecessary modules from user