[rubbos] (bug-fix:minor) Moved some code from 'prepare' method to 'preExecute' method