Removed bug in process