Fixed problem with locked modules