made sure correct window is returned
updated podspec