fixed bug in implicit