Fix stupidty+deprecated method
Fix stupidty+deprecated method