fixed second application bug
preview size fix