Fixed function calls in motorwork

Signed-off-by: Alberto Corona <albcoron@gmail.com>