Enhanced input handling for get_current method