bug fixing

thx erwin :)