fixed maximizeWindow api documentation