Fixed bug in invoke method spring worker