Fixed bug
added dubug