solved bug: http://hub.qgis.org/issues/8934 due to porting error