Bugfix in oscillate and callback handling

Signed-off-by: Martin Pahl <pahl@tnt.uni-hannover.de>