Bug Fix in compile