bugfix and rotate effect