Fixed to not read incomplete packet