removed logging
minor bug fix