fixed wierd problem