Debugging

Fixed bug