bug fixing

orientation bug