Method call bug